<?php
    jimport( 'joomla.application.component.view');
    class VolunteerViewVolunteer extends JView
    {
		function display($tpl = null)
		{			
			$session =& JFactory::getSession();
			
			$this->assign( 'username', $session->get('username') );
			$this->assign( 'isAdmin', $session->get('is_admin') == 'y' );
			
			parent::display($tpl); //display defaul template
		}
    }